<?php
namespace app\common\model;

use think\Model;

class Category extends Model
{
    public function module(){
        return $this->hasOne('module','id','moduleid');
    }
    

}